package com.dragon.mmochat.message;

import com.dragon.mmochat.MmochatConstant;
import com.skymobi.buffer.SkymobiBuffer;
import com.skymobi.message.SkymobiProtocolMessage;

public class Mmochat_9_34C extends SkymobiProtocolMessage {
	int hallState;
	int index;
	int roleId;
	

	public Mmochat_9_34C() {
		setMsgCode(MmochatConstant.MSGCODE_MMOCHAT_C_9_34);
	}

	@Override
	protected void decodeBody(SkymobiBuffer in) {
		hallState = in.getUnsignedShort();
		index = in.getInt();
		roleId = in.getInt();		
	}

	public int getHallState() {
		return hallState;
	}

	public void setHallState(int hallState) {
		this.hallState = hallState;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

}
